package com.tuocent.dagv2.common.entity;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


import java.io.Serial;
import java.io.Serializable;

/**
 * <p>
 * 验证码类
 * </p>
 *
 * @author Vincent
 * @since 2024-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ValidateCode implements Serializable {

    @Serial
    private static final long serialVersionUID = -1366450347292577810L;

    public ValidateCode(String key, String code) {
        this.key = key;
        this.code = code;
    }

    private String key;

    private String code;

}
